package com.hbsi.annotationDemo1;

/**
 * @author 程奕红
 * @version 1.0
 */
@Description(value = "我是加载类型上的注解",goods = {"苹果","香蕉"})
public class SuperMarket {
    private String name;
    private int  aera;

    @Override
    public String toString() {
        return "SuperMarket{" +
                "name='" + name + '\'' +
                ", aera=" + aera +
                '}';
    }

    @Description(value = "我是加载方法上的注解",goods = {"鸡","鸭"})

    public void word(){
        System.out.println("word");
    }
}
